import React from 'react';
import { Spin } from 'antd';

export default props => (
  <Spin {...props} prefixCls="x-loading">
    {props.children}
  </Spin>
);
